<template>
    <div class="common-layout">
        <el-container class="lay-container">
            <CommonAsideVue/>
            <el-container class="r-container">
                <CommonHeader/>
                <CommonTab/>
                <el-main>
                    <router-view></router-view>
                </el-main>
            </el-container>
        </el-container>
    </div>
</template>

<script>
import CommonAsideVue from '../components/CommonAside.vue'
import CommonHeader from '../components/ComonHeader.vue'
import CommonTab from '../components/CommonTab.vue'


export default {
    components:{
        CommonHeader,
        CommonAsideVue,
        CommonTab
    },
}
</script>

<style lang="less" scoped>
.r-container{
    flex-wrap: wrap;
    align-items: flex-start;
}
.common-layout{
    height: 100%;
    & > .el-container{
        height: 100%;
    } 
}
</style>
  